Integrand size = 22, antiderivative size = 329 \[ \int \frac {\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)}{x} \, dx=-\frac {29}{120} a c^2 x \sqrt {c+a^2 c x^2}-\frac {1}{20} a c x \left (c+a^2 c x^2\right )^{3/2}+c^2 \sqrt {c+a^2 c x^2} \arctan (a x)+\frac {1}{3} c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)+\frac {1}{5} \left (c+a^2 c x^2\right )^{5/2} \arctan (a x)-\frac {2 c^3 \sqrt {1+a^2 x^2} \arctan (a x) \text {arctanh}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {149}{120} c^{5/2} \text {arctanh}\left (\frac {a \sqrt {c} x}{\sqrt {c+a^2 c x^2}}\right )+\frac {i c^3 \sqrt {1+a^2 x^2} \operatorname {PolyLog}\left (2,-\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {i c^3 \sqrt {1+a^2 x^2} \operatorname {PolyLog}\left (2,\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}} \]
[Out]
Time = 0.39 (sec) , antiderivative size = 329, normalized size of antiderivative = 1.00, number of steps used = 16, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {5070, 5066, 5078, 5074, 223, 212, 5050, 201} \[ \int \frac {\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)}{x} \, dx=-\frac {2 c^3 \sqrt {a^2 x^2+1} \arctan (a x) \text {arctanh}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {a^2 c x^2+c}}+c^2 \arctan (a x) \sqrt {a^2 c x^2+c}+\frac {1}{3} c \arctan (a x) \left (a^2 c x^2+c\right )^{3/2}+\frac {1}{5} \arctan (a x) \left (a^2 c x^2+c\right )^{5/2}-\frac {149}{120} c^{5/2} \text {arctanh}\left (\frac {a \sqrt {c} x}{\sqrt {a^2 c x^2+c}}\right )+\frac {i c^3 \sqrt {a^2 x^2+1} \operatorname {PolyLog}\left (2,-\frac {\sqrt {i a x+1}}{\sqrt {1-i a x}}\right )}{\sqrt {a^2 c x^2+c}}-\frac {i c^3 \sqrt {a^2 x^2+1} \operatorname {PolyLog}\left (2,\frac {\sqrt {i a x+1}}{\sqrt {1-i a x}}\right )}{\sqrt {a^2 c x^2+c}}-\frac {29}{120} a c^2 x \sqrt {a^2 c x^2+c}-\frac {1}{20} a c x \left (a^2 c x^2+c\right )^{3/2} \]
[In]
[Out]
Rule 201
Rule 212
Rule 223
Rule 5050
Rule 5066
Rule 5070
Rule 5074
Rule 5078
Rubi steps \begin{align*} \text {integral}& = c \int \frac {\left (c+a^2 c x^2\right )^{3/2} \arctan (a x)}{x} \, dx+\left (a^2 c\right ) \int x \left (c+a^2 c x^2\right )^{3/2} \arctan (a x) \, dx \\ & = \frac {1}{5} \left (c+a^2 c x^2\right )^{5/2} \arctan (a x)-\frac {1}{5} (a c) \int \left (c+a^2 c x^2\right )^{3/2} \, dx+c^2 \int \frac {\sqrt {c+a^2 c x^2} \arctan (a x)}{x} \, dx+\left (a^2 c^2\right ) \int x \sqrt {c+a^2 c x^2} \arctan (a x) \, dx \\ & = -\frac {1}{20} a c x \left (c+a^2 c x^2\right )^{3/2}+c^2 \sqrt {c+a^2 c x^2} \arctan (a x)+\frac {1}{3} c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)+\frac {1}{5} \left (c+a^2 c x^2\right )^{5/2} \arctan (a x)-\frac {1}{20} \left (3 a c^2\right ) \int \sqrt {c+a^2 c x^2} \, dx-\frac {1}{3} \left (a c^2\right ) \int \sqrt {c+a^2 c x^2} \, dx+c^3 \int \frac {\arctan (a x)}{x \sqrt {c+a^2 c x^2}} \, dx-\left (a c^3\right ) \int \frac {1}{\sqrt {c+a^2 c x^2}} \, dx \\ & = -\frac {29}{120} a c^2 x \sqrt {c+a^2 c x^2}-\frac {1}{20} a c x \left (c+a^2 c x^2\right )^{3/2}+c^2 \sqrt {c+a^2 c x^2} \arctan (a x)+\frac {1}{3} c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)+\frac {1}{5} \left (c+a^2 c x^2\right )^{5/2} \arctan (a x)-\frac {1}{40} \left (3 a c^3\right ) \int \frac {1}{\sqrt {c+a^2 c x^2}} \, dx-\frac {1}{6} \left (a c^3\right ) \int \frac {1}{\sqrt {c+a^2 c x^2}} \, dx-\left (a c^3\right ) \text {Subst}\left (\int \frac {1}{1-a^2 c x^2} \, dx,x,\frac {x}{\sqrt {c+a^2 c x^2}}\right )+\frac {\left (c^3 \sqrt {1+a^2 x^2}\right ) \int \frac {\arctan (a x)}{x \sqrt {1+a^2 x^2}} \, dx}{\sqrt {c+a^2 c x^2}} \\ & = -\frac {29}{120} a c^2 x \sqrt {c+a^2 c x^2}-\frac {1}{20} a c x \left (c+a^2 c x^2\right )^{3/2}+c^2 \sqrt {c+a^2 c x^2} \arctan (a x)+\frac {1}{3} c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)+\frac {1}{5} \left (c+a^2 c x^2\right )^{5/2} \arctan (a x)-\frac {2 c^3 \sqrt {1+a^2 x^2} \arctan (a x) \text {arctanh}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-c^{5/2} \text {arctanh}\left (\frac {a \sqrt {c} x}{\sqrt {c+a^2 c x^2}}\right )+\frac {i c^3 \sqrt {1+a^2 x^2} \operatorname {PolyLog}\left (2,-\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {i c^3 \sqrt {1+a^2 x^2} \operatorname {PolyLog}\left (2,\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {1}{40} \left (3 a c^3\right ) \text {Subst}\left (\int \frac {1}{1-a^2 c x^2} \, dx,x,\frac {x}{\sqrt {c+a^2 c x^2}}\right )-\frac {1}{6} \left (a c^3\right ) \text {Subst}\left (\int \frac {1}{1-a^2 c x^2} \, dx,x,\frac {x}{\sqrt {c+a^2 c x^2}}\right ) \\ & = -\frac {29}{120} a c^2 x \sqrt {c+a^2 c x^2}-\frac {1}{20} a c x \left (c+a^2 c x^2\right )^{3/2}+c^2 \sqrt {c+a^2 c x^2} \arctan (a x)+\frac {1}{3} c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)+\frac {1}{5} \left (c+a^2 c x^2\right )^{5/2} \arctan (a x)-\frac {2 c^3 \sqrt {1+a^2 x^2} \arctan (a x) \text {arctanh}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {149}{120} c^{5/2} \text {arctanh}\left (\frac {a \sqrt {c} x}{\sqrt {c+a^2 c x^2}}\right )+\frac {i c^3 \sqrt {1+a^2 x^2} \operatorname {PolyLog}\left (2,-\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {i c^3 \sqrt {1+a^2 x^2} \operatorname {PolyLog}\left (2,\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}} \\ \end{align*}
Time = 0.34 (sec) , antiderivative size = 283, normalized size of antiderivative = 0.86 \[ \int \frac {\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)}{x} \, dx=\frac {c^2 \sqrt {c+a^2 c x^2} \left (-35 a x \sqrt {1+a^2 x^2}-6 a^3 x^3 \sqrt {1+a^2 x^2}+184 \sqrt {1+a^2 x^2} \arctan (a x)+88 a^2 x^2 \sqrt {1+a^2 x^2} \arctan (a x)+24 a^4 x^4 \sqrt {1+a^2 x^2} \arctan (a x)+120 \arctan (a x) \log \left (1-e^{i \arctan (a x)}\right )-120 \arctan (a x) \log \left (1+e^{i \arctan (a x)}\right )+29 \log \left (-a x+\sqrt {1+a^2 x^2}\right )+120 \log \left (\cos \left (\frac {1}{2} \arctan (a x)\right )-\sin \left (\frac {1}{2} \arctan (a x)\right )\right )-120 \log \left (\cos \left (\frac {1}{2} \arctan (a x)\right )+\sin \left (\frac {1}{2} \arctan (a x)\right )\right )+120 i \operatorname {PolyLog}\left (2,-e^{i \arctan (a x)}\right )-120 i \operatorname {PolyLog}\left (2,e^{i \arctan (a x)}\right )\right )}{120 \sqrt {1+a^2 x^2}} \]
[In]
[Out]
Time = 1.21 (sec) , antiderivative size = 198, normalized size of antiderivative = 0.60
method | result | size |
default | \(\frac {c^{2} \sqrt {c \left (a x -i\right ) \left (a x +i\right )}\, \left (24 \arctan \left (a x \right ) a^{4} x^{4}-6 a^{3} x^{3}+88 a^{2} \arctan \left (a x \right ) x^{2}-35 a x +184 \arctan \left (a x \right )\right )}{120}-\frac {c^{2} \sqrt {c \left (a x -i\right ) \left (a x +i\right )}\, \left (60 \arctan \left (a x \right ) \ln \left (\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}+1\right )-149 i \arctan \left (\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-60 i \operatorname {dilog}\left (\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}+1\right )-60 i \operatorname {dilog}\left (\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )\right )}{60 \sqrt {a^{2} x^{2}+1}}\) | \(198\) |
[In]
[Out]
\[ \int \frac {\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)}{x} \, dx=\int { \frac {{\left (a^{2} c x^{2} + c\right )}^{\frac {5}{2}} \arctan \left (a x\right )}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)}{x} \, dx=\int \frac {\left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac {5}{2}} \operatorname {atan}{\left (a x \right )}}{x}\, dx \]
[In]
[Out]
\[ \int \frac {\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)}{x} \, dx=\int { \frac {{\left (a^{2} c x^{2} + c\right )}^{\frac {5}{2}} \arctan \left (a x\right )}{x} \,d x } \]
[In]
[Out]
Exception generated. \[ \int \frac {\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)}{x} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)}{x} \, dx=\int \frac {\mathrm {atan}\left (a\,x\right )\,{\left (c\,a^2\,x^2+c\right )}^{5/2}}{x} \,d x \]
[In]
[Out]